package com.ryan.mms.privilage.service;

import java.io.Serializable;
import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.ryan.framework.dto.Dto;
import com.ryan.framework.model.Model;
import com.ryan.framework.service.BaseService;
import com.ryan.framework.tag.pagination.Page;
import com.ryan.mms.privilage.dto.EmployeeDto;
import com.ryan.mms.privilage.model.Employee;

@Transactional
public interface EmployeeService <T extends Dto,M extends Model,PK extends Serializable> extends BaseService<EmployeeDto,Employee,Long>{
	public EmployeeDto findByName(String name);	
	public void deleteAll(List<PK> pks);
	public List<EmployeeDto> find(Page page, EmployeeDto employeeDto);

}
